local M={
}
function M:Awake()
    self.is=self.GameObject:GetComponent(Alice.ImageSprite)
    self.mat=self.is:GetMaterial()
    self.time=0
    local prop=self.GameObject:AttachScript("TestBed.props")
    prop.score=-1
end

function M:Update(delta)
    if stop then
        return
    end
    self.time=self.time+delta*0.2;
    self.mat:SetVec4("U_Offset",self.time,0,0,0);
end

return M